.class Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;
.super Ljava/lang/Object;
.source "CommunityAppRankingAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

.field final synthetic val$model:Lcom/brixd/niceapp/community/model/RankingAppModel;

.field final synthetic val$rankingAppCategoryModel:Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V
    .registers 4
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

    .prologue
    .line 141
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

    iput-object p2, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->val$rankingAppCategoryModel:Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    iput-object p3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingAppModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 145
    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;)Landroid/app/Activity;

    move-result-object v1

    const-string v2, "RankingTypeAppsClicks"

    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->val$rankingAppCategoryModel:Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    iget-object v3, v3, Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;->rankingName:Ljava/lang/String;

    invoke-static {v1, v2, v3}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 146
    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->val$rankingAppCategoryModel:Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;

    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingAppModel;

    # invokes: Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->trackRankAppClickEvent(Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V
    invoke-static {v1, v2, v3}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->access$100(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;Lcom/brixd/niceapp/community/model/RankingAppCategoryModel;Lcom/brixd/niceapp/community/model/RankingAppModel;)V

    .line 148
    new-instance v0, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter;)Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;-><init>(Landroid/content/Context;)V

    .line 149
    .local v0, "util":Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/CommunityAppRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingAppModel;

    iget v1, v1, Lcom/brixd/niceapp/community/model/RankingAppModel;->appId:I

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoCommunityDetail(I)V

    .line 150
    return-void
.end method
